/*
 * @Author: hongbin
 * @Date: 2022-01-01 15:52:51
 * @LastEditors: hongbin
 * @LastEditTime: 2022-01-02 18:45:12
 * @Description: 主题
 */

interface IIndex {
  low: number;
  lower: number;
  floor: number;
  default: number;
  up: number;
  uper: number;
}

const index: IIndex = {
  low: -1,
  lower: -2,
  floor: -10,
  default: 0,
  up: 1,
  uper: 2,
};

export interface CustomThemeProps {
  primary: string;
  second: string;
  bg: string;
  fg: string;
  mode: "light" | "dark";
  button: {
    color: string;
    text: string;
  };
}

export const lightTheme = {
  index,
  primary: "#51f",
  second: "#55d",
  bg: "#fff",
  fg: "#000",
  mode: "light",
  button: {
    color: "#51f",
    text: "#fffae5",
  },
};

export const darkTheme = {
  index,
  primary: "#555",
  second: "#999",
  bg: "#000",
  fg: "#fff",
  mode: "dark",
  button: {
    color: "#333333",
    text: "#fffae5",
  },
};
